package com.smartcity.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;



@Schema(description = "用户VO实体类")
@Data
public class UserVO {
    @Schema(description ="用户id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description ="姓名")
    @TableField("name")
    private String name;

    @Schema(description = "昵称")
    @TableField("nickname")
    private String nickname;


    @Schema(description = "邮箱")
    @TableField("email")
    private String email;

    @Schema(description = "性别")
    @TableField("sex")
    private Boolean sex;

    @Schema(description = "电话")
    @TableField("tel")
    private String tel;

    @Schema(description = "证件号")
    @TableField("id_number")
    private String idNumber;

    @Schema(description = "头像")
    @TableField("avatar")
    private String avatar;

}
